package com.pacy.pacybaseproject.viewmodels;

import android.app.Application;
import android.view.View;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.listener.OnItemClickListener;
import com.pacy.pacybaseproject.activitys.MsgDetailActivity;
import com.pacy.pacybaseproject.adapters.MsgListAdapter;
import com.pacy.pacybaseproject.adapters.RoutingBusAdapter;
import com.pacy.pacybaseproject.beans.MsgListBean;
import com.pacy.pacybaseproject.utils.Constants;

import java.util.ArrayList;
import java.util.List;

import me.goldze.mvvmhabit.base.BaseViewModel;

/**
 * @author PACY
 * @date 2024/3/4
 * description:
 */
public class RoutingBusViewModel extends BaseViewModel {
    public RoutingBusAdapter mAdapter;
    public RoutingBusViewModel(Application application) {
        super(application);
    }

    @Override
    protected void init() {
        super.init();
        initAdapter();
    }

    public void initAdapter(){
        mAdapter=new RoutingBusAdapter();
        mAdapter.setNewInstance(Constants.getTestData(3));
    }
}
